home *** CD-ROM | disk | FTP | other *** search
- Path: netnews.hinet.net!news
- From: terry@ms1.hinet.net (Chen Tai-Wei)
- Newsgroups: comp.lang.c++
- Subject: Re: A little programme I am having trouble with - ass1.cpp (0/1)
- Date: Wed, 03 Apr 1996 05:45:11 GMT
- Organization: KMC Psychology Department
- Message-ID: <31620f7b.14337854@netnews.hinet.net>
- References: <4jsf4q$f9o@news.mel.aone.net.au>
- NNTP-Posting-Host: 168.95.124.248
- X-Newsreader: Forte Agent .99d/32.182
-
- On Wed, 03 Apr 1996 00:02:35 GMT, awedding@iig.com.au wrote:
-
- > I am tring to write the programme below but keep getting the
- >message "Possibly incorrect assignment in function main()" Could
- >someone PLEASE help me. If you could Email your response to
- > if ((TimeScale = D) && (Distance >745))
-
- In C/C++, equality is ==, assignment is =
-
- > cin >> CostPerMin = 0.55 ;
-
- I can't see what is the purpose of this line above.
-
- ---
- // Depression is an attribute of an object. Since protected by the
- // private keyword, it still can be accessed by some method which
- // is public or friend. It will be derived by the inheritance. And
- // you can't find any destructors forever.
- // Copyright (C++) 1971-96 by Chen Tai-Wei, terry@ms1.hinet.net
-